package com.zhy.generator.codegen.dom;
import com.zhy.generator.codegen.api.XmlFormatter;
import com.zhy.generator.codegen.dom.xml.Document;

/**
 * This class is the default formatter for generated XML.  This class will use the
 * built in formatting of the DOM classes directly.
 *
 * @author Jeff Butler
 *
 */
public class DefaultXmlFormatter implements XmlFormatter {

    @Override
    public String getFormattedContent(Document document) {
        return document.getFormattedContent();
    }

}
